<#include "../include/header.html">
<#assign title="新增角色">
<#if role??>
	<#assign title="编辑角色">
</#if>
<div class="container">
    <#include "../include/left.html">
    <div class="content">
			<div class="heading clearfix"> 
				<div class="pull-left">
					${title!''}
				</div> 
	   		</div> 
	   		<br>
		   <form action="" id="role_form"> 
		    <table class="table table-list"> 
		     <tbody> 
		      <tr> 
		       <td class="tit-left" width=100><em class="text-red">* </em>角色名称</td> 
		       <td><input class="input input-small" opt="rq" info="请输入角色名称" opt="rq" maxlength="30" value="${(role.roleName)!''}" name="roleName" type="text" />
		       <input type="hidden"  name="id" value="${(role.id)!''}"  id="roleId"></td> 
		      </tr> 
		      <tr> 
		       <td class="tit-left">角色权限</td> 
		       <td> 
		       		<ul id="treeDemo" class="ztree"></ul>
		       </td> 
		      </tr> 
		      <tr> 
		       <td class="tit-left"></td> 
		       <td>  <a class="btn btn-large" href="role_list.do">返回</a> <a class="btn btn-color btn-large" id="subBtn"/>提交</a></td> 
		      </tr> 
		     </tbody> 
		    </table> 
		   </form> 
	</div>
</div>
<link rel="stylesheet" href="/../resource/zTree_v3/css/zTreeStyle/zTreeStyle.css" type="text/css">
<script type="text/javascript">
	umei.url={};
	umei.url.loadMenuUrl ="load_menue4_role.do" ;
	seajs.use("settings/role.edit.js");
</script>
<#include "../include/buttom.html">
</body>
</html>